STEP 17: Now let's see what happens when you change the theoretical probability in your spinner setup!

Each color covers one quarter of the spinner, so each color has a 25% chance of appearing. Now let's see what happens when we change that balance in the spinner setup.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)